// import 'package:flutter_test/flutter_test.dart';
// import 'package:base_device_info/base_device_info.dart';
// import 'package:base_device_info/base_device_info_platform_interface.dart';
// import 'package:base_device_info/base_device_info_method_channel.dart';
// import 'package:plugin_platform_interface/plugin_platform_interface.dart';

// class MockBaseDeviceInfoPlatform
//     with MockPlatformInterfaceMixin
//     implements BaseDeviceInfoPlatform {
//   @override
//   Future<List?> getPlatformInfo() {
//     return Future.value([]);
//   }
//   // @override
//   // Future<String?> getPlatformInfo() => Future.value('42');
// }

// void main() {
//   final BaseDeviceInfoPlatform initialPlatform =
//       BaseDeviceInfoPlatform.instance;

//   test('$MethodChannelBaseDeviceInfo is the default instance', () {
//     expect(initialPlatform, isInstanceOf<MethodChannelBaseDeviceInfo>());
//   });

//   test('getPlatformVersion', () async {
//     BaseDeviceInfo baseDeviceInfoPlugin = BaseDeviceInfo();
//     MockBaseDeviceInfoPlatform fakePlatform = MockBaseDeviceInfoPlatform();
//     BaseDeviceInfoPlatform.instance = fakePlatform;

//     expect(await baseDeviceInfoPlugin.getPlatformInfo(), '42');
//   });
// }
